<%@ page language="java" contentType="text/html; charset=utf-8"  pageEncoding="utf-8"%>
 <%@ include file="/WEB-INF/util_file/common_basics.jspf"%>
<link rel="stylesheet" type="text/css" href="/jeons/js/fancybox/jquery.fancybox-1.3.4.css" media="screen" /> 
<script type="text/javascript" src="/jeons/js/fancybox/jquery.fancybox-1.3.4.js"></script>
<script type="text/javascript" src="/jeons/js/fancybox/jquery.easing-1.3.pack.js"></script>
<script type="text/javascript" src="/jeons/js/fancybox/jquery.mousewheel-3.0.4.pack.js"></script>
<script type="text/javascript">
$(document).ready(function(){
	
	/*  $("#BtnOk").click(function(){
		if ($("#userpasswd").val() != $("#bdpasswd").val()) {
			alert("비밀번호가 알맞지 않습니다!");
		}else{
			
			if ($("#check_type").val() != 'modify') {
				
				$.get('/jeons/buildqna/view?qnano='+$("#qnano").val(),function(data){
					$("#subpage_qna").replaceWith(data);
				}); 
			}else{
				
				$.get('/jeons/buildqna/insert?qnano='+$("#qnano").val()+'&bdtype='+$("#dbbdtype").val()+'&bdno='+$("#dbbdno").val(),function(data){
					$("#subpage_qna").replaceWith(data);
				}); 
			}
		}
	});   */
alert('aaaaaaaaaaaa');
	  $('#closesmat').click(function() {
		   alert('aaaaaaaaaaaa'); 
		 /*  event.preventDefault(); */
		  parent.$.smartPop.close();
      });
	  
		$("#BtnClose").click(function(){
			$.nmTop().close();
		});
});
</script>
<input type="text" id="check_type" value="modify" />
<input type="text" value="${data.bdtype}" id="dbbdtype"/>
<input type="text" value="${data.bdno}" id="dbbdno" />
<input type="text" id="bdpasswd" value="${data.passwd}"/>
<input type="text" id="qnano" value="${data.qnano}"/>
<fieldset class="autotab ui-widget ui-widget-content ui-corner-all">
	<table border="0" width="500px" height="50">
		<tr>
			<td colspan="4" bgcolor="#ffffff" height="1"></td>
		</tr>
		<tr>
			<th height="24" align="center" colspan="2">비밀번호</th>
			<td><input type="text" id="userpasswd" name="userpasswd"/> </td>
			<td><button type="button" id="BtnOk">확인</button></td>
			<td><button type="button" id="close" onclick="event.preventDefault(); parent.$.fancybox.close();">closeaaaaaaaaaaaaaaaaaaaaaa</button></td>
		</tr>
	</table>
</fieldset>
<button type="button" id="closesmat">closeaaaaaaaaaaaaaaaaaaaaaa</button>
<button type="button" id="BtnClose">모달</button>